﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace ImageBrowser.Model
{
    class ShowImageInformation : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        private string _ImagePath;
        public string ImagePath
        {
            get { return _ImagePath; }
            set { _ImagePath = value; OnPropertyChanged("ImagePath"); }
        }

        private int _ScaleRate;
        public int ScaleRate
        {
            get { return _ScaleRate; }
            set { _ScaleRate = value; OnPropertyChanged("ScaleRate"); }
        }

        void OnPropertyChanged(string PropertyName)
        {
            PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
        }
    }
}
